#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <stdlib.h>

#include "USART_driver.h"
 
/*

char isCharAvailable() //to ensure that char has been received at RX0 bit in USART Status/Control Register
	{
		if ( (UCSRA & (1<<RXC)) ) return 1; 
		else return 0;
	}

char receiveChar() 
 	{ 
  		return UDR; // Returns char value in UDR0 register 
 	}

char USART_Receive()
	{
		while ( !(UCSRA & (1<<RXC)) ); //Data is received	
		return UDR; //Return received data from buffer
	}
*/
 


